﻿using System;

namespace RFID.VModel
{
    public class WorkInfoView
    {
        public int 考勤编号 { get; set; }

        public string 卡号 { get; set; }

        public DateTime Date { private get; set; }

        public string 签到时间 => Date.ToString("yyyy-MM-dd HH:mm:ss");

        public bool Flag { private get; set; }

        public string 签到标志 => Flag ? "签退" : "签到";
    }
}
